<?php
    include("site/checklogin.php");
    include("site/scripts.php");
    include("site/header.php");
    include("site/leftcolumn.php");
    
    $xtpl_index     = new XTemplate("view/index.htm");

    include("site/report/report.php");
    
    $xtpl_index   -> assign('title', $title);
    $xtpl_index   -> assign('scripts', $scripts);
    $xtpl_index   -> assign('header', $header);
    $xtpl_index   -> assign('leftcolumn', $leftcolumn);
    $xtpl_index   -> assign('content', $content);
    $xtpl_index   -> parse("INDEX");
    $xtpl_index   -> out("INDEX");
?>